package com.ridaizu.model.form;

import java.util.Date;
import java.util.List;

import javax.faces.bean.SessionScoped;

import com.ridaizu.model.GoodsDamageLost;
import com.ridaizu.model.Model;

@javax.faces.bean.ManagedBean(name = "goodsDamageLostForm")
@SessionScoped
public class GoodsDamageLostForm extends Model {

	private static final long serialVersionUID = 1L;

	private String id;

	private String transitId;

	private String goodsId;

	private String damageLostId;

	private String count;

	private String remark;

	private String rgtOpt;

	private Date rgtDate;

	private String updOpt;

	private Date updDate;

	private GoodsDamageLost selectedGoodsDamageLost;

	private List<GoodsDamageLost> selectedGoodsDamageLostList;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getTransitId() {
		return transitId;
	}

	public void setTransitId(String transitId) {
		this.transitId = transitId;
	}

	public String getGoodsId() {
		return goodsId;
	}

	public void setGoodsId(String goodsId) {
		this.goodsId = goodsId;
	}

	public String getDamageLostId() {
		return damageLostId;
	}

	public void setDamageLostId(String damageLostId) {
		this.damageLostId = damageLostId;
	}

	public String getCount() {
		return count;
	}

	public void setCount(String count) {
		this.count = count;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getRgtOpt() {
		return rgtOpt;
	}

	public void setRgtOpt(String rgtOpt) {
		this.rgtOpt = rgtOpt;
	}

	public Date getRgtDate() {
		return rgtDate;
	}

	public void setRgtDate(Date rgtDate) {
		this.rgtDate = rgtDate;
	}

	public String getUpdOpt() {
		return updOpt;
	}

	public void setUpdOpt(String updOpt) {
		this.updOpt = updOpt;
	}

	public Date getUpdDate() {
		return updDate;
	}

	public void setUpdDate(Date updDate) {
		this.updDate = updDate;
	}

	public GoodsDamageLost getSelectedGoodsDamageLost() {
		return selectedGoodsDamageLost;
	}

	public void setSelectedGoodsDamageLost(GoodsDamageLost selectedGoodsDamageLost) {
		this.selectedGoodsDamageLost = selectedGoodsDamageLost;
	}

	public List<GoodsDamageLost> getSelectedGoodsDamageLostList() {
		return selectedGoodsDamageLostList;
	}

	public void setSelectedGoodsDamageLostList(
			List<GoodsDamageLost> selectedGoodsDamageLostList) {
		this.selectedGoodsDamageLostList = selectedGoodsDamageLostList;
	}

	public void clearAll() {
		this.id = null;
		this.transitId = null;
		this.goodsId = null;
		this.damageLostId = null;
		this.count = null;
		this.remark = null;
		this.rgtOpt = null;
		this.rgtDate = null;
		this.updOpt = null;
		this.updDate = null;
		this.selectedGoodsDamageLost = null;
		this.selectedGoodsDamageLostList = null;
	}

}
